package com.dabaozhan.modules.wx_app.dao;

import com.dabaozhan.modules.wx_app.entity.SiteIndustryEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author houzhong
 * @date 2019-01-09 15:03
 *
 * 行业认证
 */

@Mapper
public interface SiteIndustryMapper extends BaseMapper<SiteIndustryEntity> {

    /**
     * 查询当前用户
     * @param userId
     * @return
     */
     SiteIndustryEntity findByUserId(String userId);

    /**
     * 根据用户id 查询身份证 营业执照信息
     * @param userId
     * @return
     */
     SiteIndustryEntity findByCertificatesUserId(String userId);
}
